4461e9555478624fcf0b1880789391bf6a2cb30f,src/com/redhat/ceylon/tools/copy/CeylonCopyTool.java,CeylonCopyTool,copyModule,#ModuleSpec#Set#,165

Before Change


                    ac.setThrowErrorIfMissing(false);
                    ArtifactResult srcArchive = getRepositoryManager().getArtifactResult(ac);
                    if (srcArchive != null) {
                        copyArtifact(ac, srcArchive.artifact());
                        // if we found a car we can skip the jar and module descriptors
                        if(suffix.equals(ArtifactContext.CAR))
                            foundCar = true;

After Change


                        ac.setSuffixes(suffix);
                        
                        // Perform the actual copying
                        copyArtifact(ac, result.artifact());
                        
                        // make sure we don't try to get the same artifact twice
                        suffixes.remove(suffix);